 import {useWinSize} from './hooks/useWinSize'
 import {useReverse} from './hooks/useReverse'
function App() {
  const size = useWinSize();
  const elem = useReverse();
  const elem2 = useReverse();
  return ( <div>
   <h1 ref={elem}>自定义hooks</h1>
   <p>{size.w},{size.h}</p>
   <p ref={elem2}>我爱中国,更爱河南</p>
  </div> );
}


export default App;
 